//
//  CYThirdXMLModel.m
//  CaiYun
//
//  Created by 今日信息科技 on 2017/9/29.
//  Copyright © 2017年 今日信息科技. All rights reserved.
//

#import "CYThirdXMLModel.h"

@implementation CYThirdXMLModel
+ (NSDictionary *)mj_replacedKeyFromPropertyName{
    return @{@"interfaceVersion":@"interface_version.text",
             @"merchantCode":@"merchant_code.text",
             @"orderNo":@"order_no.text",
             @"orderAmount":@"order_amount.text",
             @"orderTime":@"order_time.text",
             @"qrcode":@"qrcode.text",
             @"respCode":@"resp_code.text",
             @"resultCode":@"result_code.text",
             @"sign":@"sign.text",
             @"tradeNo":@"trade_no.text",
             @"tradeTime":@"trade_time.text",
             @"resultDesc":@"result_desc.text"};
}

+ (id)mj_replacedKeyFromPropertyName121:(NSString *)propertyName{
    if ([propertyName isEqualToString:@"interfaceVersion"]) return @"interface_version.text";
    else if ([propertyName isEqualToString:@"merchantCode"]) return @"merchant_code.text";
    else if ([propertyName isEqualToString:@"orderNo"]) return @"order_no.text";
    else if ([propertyName isEqualToString:@"orderAmount"]) return @"order_amount.text";
    else if ([propertyName isEqualToString:@"orderTime"]) return @"order_time.text";
    else if ([propertyName isEqualToString:@"qrcode"]) return @"qrcode.text";
    else if ([propertyName isEqualToString:@"respCode"]) return @"resp_code.text";
    else if ([propertyName isEqualToString:@"resultCode"]) return @"result_code.text";
    else if ([propertyName isEqualToString:@"sign"]) return @"sign.text";
    else if ([propertyName isEqualToString:@"tradeNo"]) return @"trade_no.text";
    else if ([propertyName isEqualToString:@"tradeTime"]) return @"trade_time.text";
    else if ([propertyName isEqualToString:@"result_desc.text"]) return @"resultDesc";
    return [propertyName mj_underlineFromCamel];
}
@end
